package com.zqx.builder.builder;

import com.zqx.builder.productobject.Actor;

/**
 * description: 抽象建造者
 * @author zqx
 * @date 2018/09/02
 */
public abstract class ActorBuilder {

    protected Actor actor = new Actor();
    public abstract void buildType();
    public abstract void buildSex();
    public abstract void buildFace();
    public abstract void buildCostume();
    public abstract void buildHairstyle();

    //工厂方法，返回一个完整的对象
    public Actor createActor() {
        return actor;
    }
}
